<!--<include file="public+header" />-->

<!--{script}-->
function option(){
	$("#submit_button").attr("disabled", "disabled");
	$("#submit_button").val( 'update...' );
	$("#submit_button").attr("disabled", false);
	$('.validate')(0).submit();
}

checkForm(option);
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current"><!--<lang package='Template'>-->首页显示<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a href="javascript:void(0);" onclick="adminctrlmenuAdd('<!--{:__SELF__}-->','<!--<lang package='Template'>-->首页显示<!--</lang>-->')" title="<!--<lang package='Template'>-->添加到快捷导航<!--</lang>-->">[+]</a></article>
		</div>
	</section>

	<section id="main" class="column">
		<article class="module width_full">
			<header><h3 class="tabs_involved"><!--<lang package='Template'>-->首页显示<!--</lang>--></h3>
				<ul class="tabs">
					<li><a href="<!--{:Q::U('option/index')}-->"><!--<lang package='Template'>-->基本设置<!--</lang>--></a></li>
					<li class="active"><a href="<!--{:Q::U('option/show')}-->"><!--<lang package='Template'>-->首页显示<!--</lang>--></a></li>
					<li><a href="<!--{:Q::U('option/admin')}-->"><!--<lang package='Template'>-->管理相关<!--</lang>--></a></li>
				</ul>
			</header>
			<form action="<!--{:Q::U('option/update_option')}-->" method="post" class="validate">
				<div class="module_content">
					<fieldset>
						<label for="index_display_page"><!--<lang package='Template'>-->首页是否分页显示新鲜事<!--</lang>--></label>
						<input type="radio" id="index_display_page" name="options[index_display_page]" value="1" <!--{if $arrOptions['index_display_page']==1}-->checked="checked"<!--{/if}-->/><!--<lang package='Template'>-->是<!--</lang>-->
						<input type="radio" id="" name="options[index_display_page]" value="0" <!--{if $arrOptions['index_display_page']==0}-->checked="checked"<!--{/if}--> /><!--<lang package='Template'>-->否<!--</lang>-->
						<div class="description"><!--<lang package='Template'>-->选择“是”表示分页显示，否则表示下拉加载<!--</lang>--></div>
						</fieldset>
					<fieldset>
						<label for="home_newhomefresh_num"><!--<lang package='Template'>-->首页新鲜事数量<!--</lang>--></label>
						<input type="text" name="options[home_newhomefresh_num]" id="home_newhomefresh_num" size="40" value="<!--{$arrOptions['home_newhomefresh_num']}-->" class="{required:true,digits:true,min: 2,max:50}"/>
						<div class="description input_tips"><!--<lang package='Template'>-->首页新鲜事可以展示最新网站会员动态<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="home_activeuser_num"><!--<lang package='Template'>-->首页活跃会员数量<!--</lang>--></label>
						<input type="text" name="options[home_activeuser_num]" id="home_activeuser_num" size="40" value="<!--{$arrOptions['home_activeuser_num']}-->" class="{required:true,digits:true,min: 2,max:50}"/>
						<div class="description input_tips"><!--<lang package='Template'>-->可以看到那些会员一直积极地支持网站<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="home_newuser_num"><!--<lang package='Template'>-->首页最新会员数量<!--</lang>--></label>
						<input type="text" name="options[home_newuser_num]" id="home_newuser_num" size="40" value="<!--{$arrOptions['home_newuser_num']}-->" class="{required:true,digits:true,min: 2,max:50}"/>
						<div class="description input_tips"><!--<lang package='Template'>-->可以清楚地看到社区的人气不断增加,可以吸引会员加入<!--</lang>--></div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="home_followus_qq"><!--<lang package='Template'>-->首页关注我们QQ<!--</lang>--></label>
						<input type="text" name="options[home_followus_qq]" id="home_followus_qq" size="40" value="<!--{$arrOptions['home_followus_qq']}-->" class="{isQQ:true}" />
						<div class="description input_tips"><!--<lang package='Template'>-->只有QQ不为空，联系我们QQ才会显示<!--</lang>-->
							<!--{if !empty($arrOptions['home_followus_qq'])}-->
							<br/>
							<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=<!--{$arrOptions['home_followus_qq']}-->&amp;site=qq&amp;menu=yes"><img src="http://wpa.qq.com/pa?p=2:<!--{$arrOptions['home_followus_qq']}-->:41" alt="<!--<lang package='Template'>-->点击这里给我发消息<!--</lang>-->" title="<!--<lang package='Template'>-->点击这里给我发消息<!--</lang>-->" border="0"></a>
							<!--{/if}-->
						</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="home_followus_tqqcom"><!--<lang package='Template'>-->首页关注我们腾讯微博<!--</lang>--></label>
						<input type="text" name="options[home_followus_tqqcom]" id="home_followus_tqqcom" size="40" value="<!--{$arrOptions['home_followus_tqqcom']}-->"/>
						<div class="description"><!--<lang package='Template'>-->只有腾讯微博不为空，联系我们腾讯微博才会显示<!--</lang>-->
						<!--{if !empty($arrOptions['home_followus_tqqcom'])}-->
						<br/>
						<a target="_blank" href="<!--{$arrOptions['home_followus_tqqcom']}-->"><img src="<!--{:__PUBLIC__}-->/images/common/followus/tqqcom.gif" border="0"></a>
						<!--{/if}-->
						</div>
					</fieldset>
					<fieldset>
						<label for="home_followus_weibo"><!--<lang package='Template'>-->首页关注我们新浪微博<!--</lang>--></label>
						<input type="text" name="options[home_followus_weibo]" id="home_followus_weibo" size="40" value="<!--{$arrOptions['home_followus_weibo']}-->"/>
						<div class="description"><!--<lang package='Template'>-->只有新浪微博不为空，联系我们新浪微博才会显示<!--</lang>-->
						<!--{if !empty($arrOptions['home_followus_weibo'])}-->
						<br/>
						<a target="_blank" href="<!--{$arrOptions['home_followus_weibo']}-->"><img src="<!--{:__PUBLIC__}-->/images/common/followus/weibo.gif" border="0"></a>
						<!--{/if}-->
						</div>
					</fieldset>
					<fieldset>
						<label for="home_followus_renren"><!--<lang package='Template'>-->首页关注我们人人公共主页<!--</lang>--></label>
						<input type="text" name="options[home_followus_renren]" id="home_followus_renren" size="40" value="<!--{$arrOptions['home_followus_renren']}-->"/>
						<div class="description"><!--<lang package='Template'>-->只有人人公共主页不为空，联系我们人人公共主页才会显示<!--</lang>-->
						<!--{if !empty($arrOptions['home_followus_renren'])}-->
						<br/>
						<a target="_blank" href="<!--{$arrOptions['home_followus_renren']}-->"><img src="<!--{:__PUBLIC__}-->/images/common/followus/renren.gif" border="0"></a>
						<!--{/if}-->
						</div>
					</fieldset>
				</div>
				<footer>
					<div class="submit_link">
						<input id="submit_button" type="submit" class="alt_btn" value="<!--<lang package='Template'>-->发布<!--</lang>-->" />
						&nbsp;<input type="reset" value="<!--<lang package='Template'>-->重置<!--</lang>-->" />
					</div>
				</footer>
			</form>
		</article>

<!--<include file="public+footer">-->